package innerclass02;

/*

 */
public class Person {


     class Heart {
         public void jump() {
             System.out.println("心脏在跳动");
         }
    }

    //返回一个内部类对象
    public Heart getHeart() {
        return new Heart();
    }
}
